import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_app_study/utils/ImageUtil.dart';
import 'package:logger/logger.dart';

class PrinterActivity extends StatefulWidget {
  @override
  _PrinterActivityState createState() => _PrinterActivityState();
}

class _PrinterActivityState extends State<PrinterActivity> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("pdf打印测试"),
      ),
      body: RaisedButton(
        child: Text("打印"),
        onPressed: () {
//          FlutterPdfPrinter.printFile(ImageUtil.getImageAsset("lonvn9"));
        },
      ),
    );
  }
}
